import datasavesvc from './service/datasavesvc.js'
class DataSaveINTF {
    constructor(canvas) {
        this.m_pCanvas = canvas;
        this.m_pService = new datasavesvc.DataSaveSvc(canvas.getDataManager());
    }

    save(){
        let result = this.m_pService.save(this.m_pCanvas.getCanvas(),this.m_pCanvas.getPaintMap()); 
        return result; 
    }
}

export default{DataSaveINTF}